﻿using System;
using System.Windows.Forms;
using NDK.Module.Model;
namespace NDK.Frm
{
    public partial class PasswordLevel : Form
    {
        public PasswordLevel()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(te_Password.Text))
            {
                MessageBox.Show("密码错误");
                return;
            }
            if (te_Password.Text == "admin")
            {

                Common.PasswordLevel = 1;
            }
            else
            {
                Common.PasswordLevel = 0;
            }
        }
    }
}
